﻿using QG.FrontDesk.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QG.FrontDesk.BLL.IService
{
    public interface IVerificationCodeService
    {
        /// <summary>
        /// 新增验证码数据
        /// </summary>
        /// <param name="code"></param>
        /// <param name="email"></param>
        /// <returns></returns>
        int AddCode(string code, string email);

        /// <summary>
        /// 得到有效验证码
        /// </summary>
        /// <param name="email"></param>
        /// <returns></returns>
        string GetCode(string email);
        bool SendCode(string phone);
        int QueryVerificationCode(VerificationCode verificationCode);
    }
  

    
}
